package com.ambow.service;

import java.util.List;

import com.ambow.entity.Message;
import com.ambow.entity.Post;
import com.ambow.utils.PageResults;

public interface PostService {	
	public  boolean savePost(Post post);		
	public  List<Post> queryBySql(String hql);
	public PageResults<Post> getPageByFetchedHql(String hql, String countHql, Integer pageNo, Integer pageSize);

}
